Make info bar action area horizontal
authorWilliam Jon McCann <william.jon.mccann@gmail.com>
Mon, 15 Jul 2013 13:33:44 +0000 (09:33 -0400)
committerWilliam Jon McCann <william.jon.mccann@gmail.com>
Mon, 15 Jul 2013 17:19:55 +0000 (13:19 -0400)
A vertical action area causes the info bar to be imposingly large.
This defeats the whole point of the info bar which is to be
unobtrusive. Not to mention it is impossible to make it look
and feel good.

gtk/gtkinfobar.c
gtk/gtkinfobar.ui

index 837caa542e69eaeec80607e70a0f2dea6cbaee53..6df496d01c39e04893d3c81ea9c687913b774133 100644 (file)
@@ -56,8 +56,8 @@
  * #GtkInfoBar is a widget that can be used to show messages to
  * the user without showing a dialog. It is often temporarily shown
  * at the top or bottom of a document. In contrast to #GtkDialog, which
- * has a horizontal action area at the bottom, #GtkInfoBar has a
- * vertical action area at the side.
+ * has a action area at the bottom, #GtkInfoBar has an action area
+ * at the side.
  *
  * The API of #GtkInfoBar is very similar to #GtkDialog, allowing you
  * to add buttons to the action area with gtk_info_bar_add_button() or
index f8a6799b91cb66fe34bb1cd8948fe39357b6d20e..f3b43fc2965e03fe70c8bf023838d13e94f37d81 100644 (file)
@@ -25,7 +25,7 @@
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="border_width">5</property>
-        <property name="orientation">vertical</property>
+        <property name="orientation">horizontal</property>
         <property name="spacing">6</property>
         <property name="layout_style">end</property>
         <child>